package com.zang.jdk8;

/**
 * @author Zhang Qiang
 * @date 2019/10/19 14:11
 */
public class CallbackClient {

    private static QrCallbackListener qrCallbackListener;

    public static void main(String[] args) {

        CallBack callBack = (String param, Object data)->{
            System.out.println("param: " + param + " data : " + data);
            return true;
        };

        getListener(callBack);
    }

    public static void getListener(CallBack qrCallback){
        System.out.println(" listener:" + qrCallback.toString());

    }

}
